﻿// =================================================================== 
// 项目说明
//====================================================================
// lsc @Copy Right 2019
// 文件： GovLogInterfaceEntity.cs
// 项目名称：斑马车务
// 创建时间：2019-01-09
// 负责人：lsc
// ===================================================================

using System;
using Dapper.Extensions;

namespace CGT.Infrastructure.Entity
{
	/// <summary>
	///接口日志数据实体  
	/// </summary>
    [PrimaryKey("LogId")]
	public class GovLogInterface
	{
		///<summary>
		///接口日志
		///</summary>
		public GovLogInterface()
		{
		}	
    
		
		///<summary>
		///主键
		///</summary>
        [Column("LogId","主键")]
        public long LogId { get; set; }

		///<summary>
		///接口类型(1：主调接口，2：被调接口）
		///</summary>
        [Column("InterfaceType","接口类型(1：主调接口，2：被调接口）")]
        public short InterfaceType { get; set; }

		///<summary>
		///接口名称
		///</summary>
        [Column("InterfaceName","接口名称")]
        public string InterfaceName { get; set; }

		///<summary>
		///请求方法(POST GET)
		///</summary>
        [Column("RequestMethod","请求方法(POST GET)")]
        public string RequestMethod { get; set; }

		///<summary>
		///IP地址
		///</summary>
        [Column("ClientIP","IP地址")]
        public string ClientIP { get; set; }

		///<summary>
		///请求地址
		///</summary>
        [Column("RequestUrl","请求地址")]
        public string RequestUrl { get; set; }

		///<summary>
		///提交内容(POST)
		///</summary>
        [Column("PostData","提交内容(POST)")]
        public string PostData { get; set; }

		///<summary>
		///请求时间
		///</summary>
        [Column("CreatedDate","请求时间")]
        public DateTime CreatedDate { get; set; }

		///<summary>
		///请求返回结果
		///</summary>
        [Column("RequestResult","请求返回结果")]
        public string RequestResult { get; set; }

	}
}